package com.googlecode.pathmachine.nn;

/**
 *Name: Params
 *
 *Author: John Pendlebury ported to Java from code written by Matt Buckland
 *
 *Description: Utility class for storing parameters.
 *
 *You can reuse this code provided you include these comments.
 *I'd also appreciate you letting me know via email just because I'm
 *interested.
 *
 *email: john.pendlebury2@mail.dcu.ie
 */
public class Params
{
	public static double activationResponse = 1.0;
	public static double biasFactor = -1.0;
	public static int numInputs = 4;
	public static int numOutputs=2;
	public static int numHiddenLayers=1;
	public static int neuronsPerHiddenLayer=6;
	public static double maxPerturbation=0.3;
	
	//Constants
	public static final double PI = 3.14159265358979;
	public static final double HalfPI = PI / 2.0;
	public static final double TwoPI = PI * 2.0;
	
	public static int windowWidth = 400;
	public static int windowHeight = 400;
	public static double sweeperScale = 5.0;
	
	public static double maxTurnRate = 0.3;
	public static double maxSpeed = 2.0;
	
	public static int numElite = 4;
	public static int numCopiesElite = 1;

	public static int numSweepers = 30;
	public static int numMines = 40;
	public static int cyclesPerGeneration = 2000;
	
	public static double mutationRate = 0.1;
	public static double crossoverRate = 0.7;
	
	public static double mineScale = 2.0;
	
	public static double framesPerSecond = 1000;
	
	

}
